package com.project.xsf.service;

import com.project.common.entity.PageVo;
import com.project.xsf.entity.MDesignProcedureDetails;
import com.project.xsf.entity.MDesignProcedureModule;
import com.project.xy.entity.DModuleDetails;

import java.util.List;
import java.util.Map;

public interface MDesignProcedureModuleService {
    int deleteByPId(Integer pId);

    int insertSelective(MDesignProcedureModule record);

    int addMDesignProcedureModule(MDesignProcedureModule[] mDesignProcedureModules, DModuleDetails[] dModuleDetails, MDesignProcedureDetails mDesignProcedureDetails,Integer mDesignProcedureDetailId);

    List<MDesignProcedureModule> queryMDesignProcedureModuleByPId(Integer pId);
    PageVo<MDesignProcedureModule> queryMDesignProcedureModuleByPId(Map<String,String> map);

    int deleteByMDesignProcedureId(Integer mDesignProcedureId);
}
